<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>

    <input type="text">
    <button>搜索</button>

    <ul></ul>

    <script>

        var baidu = {
            // name : 'yy' , 
            // age : 17 ,
            sug : function(data) {
                console.log(data);
            }
        }

        // 
        // baidu.sug(11) ;

        // window.baidu.sug() ;

    </script>

    <script src="https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=123"></script>
    
</body>
</html>